Fixes for ternary parameter handling and isotherm performance improvements.