Identification and classification of the singular configurations of mechanisms.