Add a simple average class.
Switch to using simple averages. Should reduce memory usage by a few hunred bytes.