Added zero matrices in matlab code