Optimizing Karl Fischer Titrations in Regulated Environments