Edited some linear algebra test cases