added in lbeta version of the tree imbalance function and changed the output file prefix, as noted in the code