RF: moving functions to tracking.streamlinear
RF: Moving things around and benchmarking