Implemented sparse grids integration.
Added hierachical node and weight generation to trapezoidal and clenshaw
curtis integrator.
Fixed some stuff (in product rule).