added a method for gpstools that takes two gps points