Calculate trip time

I added a cool trip time calculation function