fixed bug in setMaxTipTipDistance

``PhyloNode.setMaxTipTIpDistance`` was not actually being calculated correctly. Added a more explicit test, and corrected the method. Issue was due to unexpected in place modification to variables.