This is the basic working system for the pendulum but there are bugs present that are currently preventing the solver from running.