Turn on caching in KMeans.main