smoo_dataset function

Smoother based on weighting