matrix operations test use new implementation