Determinant of matrix but only for 3x3 case