A generative adversarial neural network for modelling state-dependent sand behaviour | Synapse