First set of implementations

Just implementing setting and getting a matrix.