Add distance calculation to route