Panda, Tiger, and Eagle code.

With the Tiger discussion, I couldn't tell whether you really wanted the "average year" or the "average in a year", so I did both. :-)

There's a couple of spots I have comments/questions about that I'll add inline.