removes unassigned centroids; better utilizes Centroid class and class functions