CreateCentroids function

Create a Centroids Objects