Added a function that implements a moving average filter of 8. Also minor fix to the IMU_Cube.pde code