Added Polygon and Line smoothing