Sampling from Multi variate Normal with time varying Covariance Matrix in a way similar to matlab

What @Bob_Carpenter said is right, the code block at the end of his post will vectorize fine with a non-diagonal covariance matrix.