Latest updates to MEP

also got rid of old code in IMP