public void Identity3() { for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { if (i == j) { M[i, j] = 1; } else { M[i, j] = 0; } } } }