correcting distance formula
Merge branch 'master' of https://github.com/gemisis/cloaked-tribble