Control and Simulation of Multi-DOF-Manipulator by using a New Algorithm for Inverse Kinematics Computation