Fixed bugs in getDirections.
Merge branch 'master' of https://github.com/clifferice3/SmartNav/