automatically switches between iterative forgetting and realtime forgetting depending on memory parameter
Merge origin/multinal1 into multinal1