Fix typo in math/matrix docs.

Closes PR14721.