[centroid] Reduce numerical errors by translating the Geometry closer to 0 and then the result back.

The first Point of the Geometry is used as the new origin.
During the centroid calculation each Point is translated by subtracting the origin.
At the end the resulting point is translated back by adding the origin.