Added LinearAccelerometer class.