Finding the determinant of a 2x2 matrix