Add log_beta and log_binom functions