impl'd MemoryMatrix, fixed bug in selection