Fixed smoothing related bugs that were introduced when
splitting pyParticleEst into a seperate project.