vectorized multivariate normal pdf function, added more detailed writeup