changed plot_gaussian