Prosthetic device and method of fixation within the medullary cavity