Theories of Cognition in the Later Middle Ages