Many of these imports are unused, like glob, os, pylab, itertools, pprint. Importing them makes the script slower to start up. Anything that is re-imported inside of the `mutual_information_from_files` function and only used there doesn't need to be imported out here.