chm_factorize working for a sparse matrix

but still having difficulties with a separate chm_analyze followed by chm_factorize.
The problem is with passing the pointer to the c_CholmodFactor object in such a
way that it gets updated in the call to chm_factorize.