args: track1, track2 - Returns the measure at which points interpolated along two trajectories are closest.