Mechanical prosthesis