Definition of Gaussian func