Added plot_generative_model.m