Cofactor and adjoint Matrix Calculator