Theoretical prediction of joint reaction force in a dynamic general 3-d pendulum tree model for human or animal motion