MainsDataAvgs now extends MainsData and is used in its stead for calculating averages in powerDownsampler.js