Computer aided design of prostheses