added verbose flag to MEMD