implemented Gaussian Classifier