simplifyGeom function

Simplify the geometry of a vector