Collection of functions for Gaussian quadrature