Added test for new matrix methods into unit tests example, but these really should go in their own lib...