Start very preliminary pass over fix_gps function