Adding some fixes to frequent subtrajectories, still working on map matching.