Adding C interfaces for Cholesky factorization and modification