EnterLink- and EnterLeaveEvents have now the correct leg-number set. Changes in constructors of these classes to pass the leg-number. Changes in readers and tests where these constructors were used. New events-algorithm that calculates the correct leg number for every processed event to fix older event-files.