Design and control of powered lower limb prostheses