calc_peak_info_vec function

Calculate the FWHM of a peak from a vector of intensity values.