fixing residual calculation of equilibrium sorption reaction
avoid unnecessary calculation
avoid unnecessary calculation
assigning the correct values
correct cminbar
fixing vprime
declare the pointer to activity model