Added determinant to matrix and updated intx.