3 axis accelerometer support added