The Medieval Theory of the Inner Senses