Mechanisms for Motion Transformation Driven by Controlled Actuators: an Original Approach for their Dynamic Optimization