Calculate trip time

merge in trip_duration method