changes in Gamma and Beta func impls, #21