Some new algorithms applicable to potentiometric titration in acid-base systems.