parseGPS function now resets its variables when done