in reply to Dot product of three matrices

Thanks everyone for the feedback. Much appreciated. I really must apologise ... originally I wrote the program with two vectors just as a tester before adding the third and I've just noticed I didnt update my comments to reflect this. Shame on me.
It is the dot product of three matrices. I wrote it in part solution (hopefully) for a larger task I have to solve.
Thanks again for the comments.
p.s. I'm a she ;)