fixed another (and hopefully the last major) bug in the human motion model