Removed the redunant "centroid" function from WFC3_phot.py