Who did Ibn Sina help to write some of their earliest work.