Lecture 2: Nonlinear regression