Change centroid function name