Understanding sensorimotor adaptation and learning for rehabilitation