Replaced some instances of totpestloss, totWS with new avgpestloss, avgWS

totpestloss was being used both to accumulate data, and also to contain
an average after dividing its value, at the end of the year.  This
average was then plotted.

Likewise for totWS.

This was problematic in behavior space.

Now the average and the plotting use a new variable.