Works for 2x2 matrix, almost works for 3x3...