VelocityAnalysis: properly handle smoothing window <=1

Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>
VelocityAnalysis: fix a stupid bug in track linear velocity analyzer.

Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>