Here are links to two maple files:
Chem
and
Cubic