Pendulum Matrix