Updated dadarays, k-means, improved afromb

chopshopshockshack algorithm updated by zack.
improved afromb which uses k-means clustering