Fixed another bug with recent change
Merge branch 'master' of github.com:khughitt/csmooth