Update MidpointRooting.pl