Added averaging ability to GPS

GPS now stopped while recording and restarted after reccording - next
average value is recorded to the log file