Finished linear algebra test cases
Improved linear algebra non zero tests
Fixed bugs found due to previous testing