Refactor metrics

This branch completely refactors metrics to make use of the pandas library. The modules examine.py and paper_experiments.py are also cleaned up.