You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: runtest_vbmc.m
    path of file: ./repos/vbmc/test
    
    the code of the file until where you have to start completion: function failed = runtest_vbmc(options)
%RUNTEST Test Variational Bayesian Monte Carlo (VBMC).
%  RUNTEST executes a few run
    
function y = mvnlogpdf(X, Mu, Sigma)
%MVNLOGPDF Multivariate normal log probability density function (pdf).

d = size(X,2);
X0 = bsxfun(@minus,X,Mu);
sz = size(Sigma);

% Make sure Sigma is a valid covariance matrix
[R,err] = cholcov(Sigma,0);
if err ~= 0
    error(message('stats:mvnpdf:BadMatrixSigma'));
end