Fix index bug in AddrTransTable. Minor update to SimpleMemory.