Optimizing Memory Retention with Cognitive Models