corrected the .current() method

added a few data elements to the moving_average class so that
the current average did not need to be recomputed when called.