Computes the Positive Gauss-Legendre quadrature
deg (int) – The degree of the Gauss-Legendre quadrature
x (list[float]) – The abscissas
w (list[float]) – The weights