Centroid Construction

construct a centroid