Fixed bug in distance calculation where the center was considered as integer.
PSF test: fixed radial profiles in g band PSF plots, added stddev error bars; added Moffat profile with beta=4.
PSF test: applied to calibration PSF cubes the same changes from g band PSF.