Fixed bug with calculating distance

Needed to convert values to radians instead of degrees