Averaging Implementation

Almost there!