Implemented Gaussian Model.