The Sensory Core and the Medieval Foundations of Early Modern Perceptual Theory