update K_medoid
Merge pull request #9 from ryanlei/patch-1

Removing all the ipython specific junk from the exported python file.