A Continuation Method for Nonlinear Regression