Updating GPX simulator to calcuate speed and direction from the gpx file