At what age did Avicenna turn to away from philosophy