Added centroid insert and finding methods