A state observer for the Virgo inverted pendulum