Stabilizing a ball and beam test-bed