MATH-1371: Elkan's enhancement to "K-Means" algorithm.