What unpopular philosopher's text did Avicenna learn from