SMS: Kinematic analysis of mechanisms