Remove non-working and unused centroid processing