added gauss 6, added variable quadrature integrate function