Py3k fix for ChemicalPotential.
Automated merge for py3k testing