Testing the output

> evalm(transpose(S)&*S);

[Maple Math]