added a clunky plot for tree ESS calculations
improved tree.ess function