Transfer penalty

Added unit tests to test the effect of the transfer penalty on planned trips. Also cleaned up some things.