Update kmeans.m

Fixing errors up to the function before recalculate Centroids.  Continue tomorrow.