Text this: Linear and nonlinear approach for DEM smoothening