Corrected unequal imageCrop dimension issue in phot.py