Adaptive Stimulus Representations: A Computational Theory of Hippocampal-Region Function