Python Calculate Centroid Project Hail