Update smooth.r
Merge pull request #1 from mhfzsharmin/patch-1

Update smooth.r