Renaming the sqared distance function for centroids