Added second averaging class to robot.py