update the GaussianDistribution class
change based on mentor's suggestion(2)
change based on mentor's suggestion(3)