fixed doc in smoothing() function