smooth.default function

Default smoothing function