Sparse glm update. Had cholesky being solved in place, overwriting the gram, however, we need to keep the gram intact in case of non-spd matrix (in which case we add L2-regularization and try again).

Changed it to create a clone of the gram and perform in-place cholesky on the clone.