Algebraic Algorithm for the Kinematic Analisys of the Slider-Crank/Rocker Mechanisms