added command line 2d smoother