Added averaging class and functionality to smartdashboard