Optimazing example. Still 3x slower than Sobol and worse error bound.