fixed typo in matrix.tex (wrote hx instead of hy)