Function For Gaussian Distribution