Have cleaned up the code.  Started building functionality to find average.  However running into problems with division.