Added Gaussian function.