Design and control of powered transtibial prostheses