Added isValidRmcMessage function to detect if gps signal is good.