Section B, Problems 2 and 3

First cut at the fit statistic function.  There remain several
important errors to figure out.