Self-organization of multiple spatial and context memories in the hippocampus