Added function get_position_data to gps,.py