added new linearsmoother, made parabolicsmoother faster, many other fixes for smoothing trajectories