2 add trip distance

I used some awesome Math here... Kinda expecting a nobel prize :)