kmeans progress. can test from matlab better now