added a custom "mem" version of beta -- calculating as a ratio of the maximally symmetric rooted tree on n vertices, which is the S_n-1.