Expose residual and number of iterations in c wrapper