Work in progress, check back later for updated post.

Simulated inversion and stabilization of pendulum: