Who used Avicenna's work to help understand past political events