control of inverted pendulum 2892457