improved documentation for MemDataset