added length function to subset object
kmeans now sorts subsets by size before splitting each one

The KmeansAnalysis algorithm has now been modified to sort the
remaining subsets that need to be split by size before analyzing each
subset. This change is meant to see large improvements in the BIC
scores in the beginning and smaller improvements toward the end (since
the subsets being split will be smaller)