added executables and functionality for smoothing