After centuries of stagnation science is making a comeback in the Islamic world