Walking algorithm for a robotic transfemoral prosthesis capable of walking pattern recognition and posture stabilization. (17th September 2017)