Cofactor Expansion