Calculating accummulated distance and elevation-over-distance chart type