cascadeKM function

K-means partitioning using a range of values of K