added some comments to runKmeans - will work more tomorrow