Added matplotlib import to interval_tools.py
Removed matplotlib import from global_funcs.py