Added kmeans partitioning, removed old probmat_grant things.
Merge branch 'master' of https://github.com/kseth/SynWood
Changed some aspects of kmeans partitioning.