Understanding Motor Control for Assistive Technologies: From Biomechanics to Brain-Machine Interfaces