An Optimized Full State Feedback Controller for Ball and Beam System