A Virtual Method for Establishing Femoral Stem Position in Total Hip Arthroplasty