generative modelling and sampling

TODO