More work on matrices.
Fixed some static fields in the math classes that weren't also readonly.