An investigation of the biomechanical factors influencing knee joint function following total knee replacement