Merge pull request #7 from shankari/master

Changes required to get everything to run on production
update K_medoid
Merge pull request #9 from ryanlei/patch-1

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