SMS: Thermodynamics of the corn ethanol biofuel cycle