smoothGeom function

Smooth the geometry of a vector