Added initial trip duration calculations into poissonLogic, seems to work