Cleaning plots added, retrieving summary data fixed, added legend toplots