-small corrections to branch length optimization function