Computer navigation technology for joint replacements