function for multivariate normal density function, random function from numpy