Added a demo for smooth parameter