LDL: a simple LDL^T factorization for sparse matrices