A control theory approach to the analysis and synthesis of the experimentally observed motion primitives