Miscellaneous technical code relating to water chemistry and treatment - mostly VB from VS2010