A Dynamic Control Algorithm of Robotic Manipulators Using a Sliding Mode Control