Integer factorization routines for GAP
