Initial import of basic matrix class.