Commit regenerated k-means-vector implementation.