Cleaned up smoothing
cleanup
Merge pull request #70 from chrisfilo/enh/fix_smoothing

Cleaned up smoothing