The Mathematics of Levi ben Gershon