finished plotexcess.py (for the most part)