FWHM function finished