Stochastic modeling and tracking of human motion