new test for matrix, small doc stuff