Run Kmeans added

(Original file from Adam Coates)