Changes to implement accelerometer control of CG shift