Real-Time Adaptation of an Artificial Neural Network for Transfemoral Amputees Using a Powered Prosthesis