Many animals use spatial learning to locate nests and other shelters. what aspects of the environment play a role in spatial learning?