Methods for measurement and control of water in non-aqueous biocatalysis