added 3d plotting and messing with clustering
forgot to add this