Pragmatic classification of movement primitives for stroke rehabilitation