dBetaBinom implementation for internal use by C++

dBetaBin_cppi(M, N, PI, THETA, LOG, MemLim, Xtra)