Finite element modeling of a femoral stem in a total hip prosthesis