added the fourth order determinant