Matrix transpose, multiplication, Identity and triangles + testcases