Added accelerator control code.
Switchable gyroscope added (libsensor2)