Easing Automatic Neurorehabilitation via Classification and Smoothness Analysis