changes to KMeans after bug bix for parsing floats