tegral Q.  
%
% [OBJ,Q] = *cubBayesNet_g*(f,dim,absTol,relTol); estimates the integral
%   of f over hyperbox $[0,1]^{\mathrm{dim}}$ using digital nets (Sobol points). All parameters
%   should be input in the order specified above. The answer is given within
%   the generalized error tolerance tolfun. All other input parameters
%   are initialized with default values as given below.
%
% [OBJ,Q] = *cubBayesNet_g*(f,dim,inParms); estimates the integral 
%   of f over hyperbox $[0,1]^{\mathrm{dim}}$ using dig