Fixes for advanced python workshop.

Tollerence function now works properly.
Merge branch 'master' of https://github.com/Clyde-fare/Imperial_Chem_Python