Added ability to undo to smooth all