Calculate trip time

Added in calculate trip time method