W is a 5×5 matrix and the items are 2×2 matrices, for example:
W
S0=reshape([2,2,4,4], (2, 2)) W=reshape(Any[S0 for i in 1:25],(5,5))