Homework 2 from Leslie Myint

Hey Roger,
Here is my submission for homework 2. For Newton's method, I also tried performing univariate versions of Newton's method for each of the 5 parameters, and that seemed to be more stable than the matrix algebra version of optimizing all 5 at the same time. But my submitted version is the less stable version that optimizes all 5 at the same time.

Best,
Leslie