Made KMeans support any number of color channels.

Some plotting code just had to be removed.