Fixed- no closest centroid found for vector