Dementia and Hopfield model