Integration of learning and forgetting processes with the SHERPA model