centroid function

Find Centroid of the Cluster