Design of a total wrist prosthesis