Deleted Memoization. Use cachetools instead.
misc fixes
Replaced assertions with NotImplementedError