Method for design and production of a custom-fit prosthesis