Make statics thread local
Merge pull request #1372 from wmtan/MakeStaticsThreadLocalInTrajectoryCleaning

Multithreading fixes -- Make statics thread local in TrackingTools/TrajectoryCleaning