Added comments to memd_extr.m.