Cofactor Expansion Across Different Rows