added the template implementation file
added a bit of documentation

Some documentation was added to the matrix interface to explain how
dimensions are to be stored in each instance.
added some more methods

The development of the matrix class will not be test-driven :(