matrix: use correct matrix multiplication functions
matrix: add print function
tests: add some matrix tests

* add delta to float comparision
tests: fix style. make delta smaller
Merge pull request #6 from lubosz/matrix+tests+review

Use the correct matrix multiplication function and add some tests.