Fixed howto comment. Fixed memoization bug.