Bug fixes and don't let points jump around so much by using the distance between the last point and the current sent point.

This uses the spherical law of cosines to get the distance between two latlngs (math.js)
Merge branch 'master' of github.com:Hidendra/CSCI3130-Group1