added library for plotting precision-recall

also made minor changes to mmr_lib (pickling data)