added the same license as MemToolbox