Gaussian generator 1D