Dynamic analysis and optimization for the ankle joint prosthesis.