Text this: Assist-as-needed control strategy for upper-limb rehabilitation based on subject's functional ability /