Text this: Linear Quadratic Gaussian (LQG) controller for inverted pendulum