Updated Algorithms

Added plot legend to ER.py and Corrected Authored Notation in DPA.py