SMS dit: Chance and determinism in Avicenna and Averroes