Attempt at computing integrals via Legendre polynomial recursions.