Convergence Properties of the K-Means Algorithms