Python Calculate Centroid Project Management