Simulation of a parallel mechanical elbow with 3 DOF