Recursive Kinematics and Inverse Dynamics for a Planar 3R Parallel Manipulator