did some centroid stuff

yay