added assertions and verified pdf evaluation of multivariate normal