Matrix quadratic form

oops. I forgot to mention that the above term is one term in a sum of two terms, and hence, would not work on the whole. Sorry I forgot to mention this.