fixed algorithm for deciding if we are too far from the route
Merge branch 'master' of https://github.com/ivan-pavlovic/ibikecph-app