Stabilising the triple inverted pendulum by variable gain linear quadratic regulator. (1st January 2012)