custom_tol function

Customize tolerances for specific compartments