-smoothing a function
-wip nth root using average dumping