A library of routines for performing sparse factorization