Fix bug in logmvnpdf code.