Fixed trajectory selection bug
Added decision-making for selecting N frames