Accelerometer with pitch and roll info