Revisions to tracking for higher accuracy and decent battery life (only track every 10 seconds).
Revised formatting of updateTripStats function