Three-Link Manipulator Modeling and Control