Added functions to output GAINS data in NMEA format.