SMS: An investigation of singularities in robot kinematic chains aiming at building robot calibration models for off-line programming