Advancing Prosthetic Design Using Neural And Mechanical Dynamics