clean_gps function

Check and clean GPS data