THEORIES OF PERCEPTION IN MEDIEVAL AND EARLY MODERN PHILOSOPHY