Fixed the NaN centorid issue in Kmeans
Merge remote-tracking branch 'upstream/clusterAlgorithms' into clusterAlgorithms