Fixed bug in smoother.
Fixes