moved fwhm function to calc_params
params now sets up all paramaters needed for daophot