Biomechanical design and prototyping of a powered ankle-foot prosthesis