Using the Brain to Help Rehabilitate the Body