Replace Gauss quadrature with GaussLegendre