Fixed centroid print statements