Coding the Matrix Class documents