Hello Rob,
I am a bit confused in trying to understand the problem that you are having.
For example, if S is a structure with two fields, X and Y, then S.X and S.Y will be matrices and with these matrix multiplications can be handled...
Have I understood your question correctly?
Regards,
BM