Fixed a bug in single compound PH/PS equilibrium calculations.