calculate gps strain rate