Using contextual analysis to investigate the nature of spatial memory