Added an accessor to matrix.h

Added a typename to a derivative type
Added simpleAssert.h and made changes to matrix.h to allow for transposes