A three-dimensional geometric model of the knee for the study of joint forces in gait