changed back to mean in tree.ess calculations

because the plots look odd with medians.