do you add the initial position and final position to get distance?