Calculates distance remaining based on current location.

Used to dynamically update distance to next instruction while routing.