What popular philosopher's text did Avicenna learn from?