Added trigsimp to dense matrices. Added tests.

Matrices can now call `trigsimp` on themselves.