sobol_g2_R function

Sobol G-function restricted to the first two inputs