Add working pendulum.

I think I'm calculating the drag location wrong.