add fast-memoize, remove out-of-date license headers