Kinematic Synthesis of Linkages