Modified gps.py from the GPSD Project