Added functionalities for fitting Gaussian curve to likelihood functions