Learning People Trajectories using Semi-directional Statistics