Added defaults to smoothing function