A unified approach to modelling wastewater chemistry: model corrections