modified MemoryBounding, added comments, made MemoryBounding1DTest with comments