%% main matter: running the calculation
% run the calculation using Monte Carlo
resultMC = MC(...
    'stochast', stochast,...
    'NrSamples', 3e4,...
    'x2zFunction', @x2z);

% run the calculation using FORM
resultFORM = FORM(...
    'stochast', stochast,...
    'x2zFunction', @x2z);