Add some unit tests for the matrix function
Merge pull request #5 from treyhunner/matrix-tests

Add some unit tests for the matrix function