-added debug code for branch length optimization routines