[dev] Documentation improvements and debugging covariance in fit_nonlin.