Added elevation function and filled out gpx function