Excel Vba Get Array Dimensions Matlab For Loop