Adding distance function
Merge branch 'master' of https://github.com/erhs-robotics/Robo2013