Butterfly for k-medoid on top of kgem. Muscle wrapper ready