Update smoothing.hpp