Beta-binomial second-order derivative with respect to its pi parameter (once) and theta-parameter (once)

grad_pi_theta(ms, ns, pi, theta, MemLim = 2048L, Xtra = 7L)