Added an option to psffit to specify the fraction of the peak PSF amplitude that is considered for the fit.