Added accelerometer measurement to pendulum example.