Fix typo in math/matrix docs.

Closes PR14721.
Couple of grammar fixes.