Adding smooth function

To filter out high frequency fluctuations (default setting : <10 days)