Started working on the matrix data structure.