Exactly computes the determinant of a 2x2 matrix