add routines for wigner d-matrix sums and integrals using gauss-legendre quadrature.