Whole body awareness for controlling a robotic transfemoral prosthesis