Removed zero entries from the coefficient matrix in the solver