double calcTransferCost(SwissRailRaptorCore.PathElement currentPE, Supplier< Transfer > transfer, RaptorStaticConfig staticConfig, RaptorParameters raptorParams, int totalTravelTime, int totalTransferCount, double existingTransferCosts, double currentTime)