andle that accepts an n x d
% matrix input, where d is the dimension of the hyperbox, and n is the
% number of points being evaluated simultaneously.
%
% The following additional input parameter passing styles also supported:
%
% [OBJ,Q] = *cubBayesNet_g*(f,dim); estimates the integral of f over
%   hyperbox $[0,1]^{\mathrm{dim}}$ using digital nets (Sobol points). All other input parameters
%   are initialized with default values as given below. Returns the initialized
%   object OBJ and the estimate of in