Added function for fwhm