Calculation of the Multivariate Probability Distribution Function Values and their Gradient Vectors