Neuro-Dynamic Programming in Control of the Ball and Beam System