Add online version of the K-Means algorithm.