Fixed error in Gaussian Quadrature