Added distance calculation along with total and average speed - for #21