Find the determinant of the matrix