Cofactor Expansion Calculator