Should have fixed getIntermediate

For some reason centroids isn't carrying over the correct value from utils-kmeans so I made cent so that we would have the correct centroids points.