edited getCluster and getCenters to reflect where ordering lives