GPX parser and Distance calculator