multivariate random functions