[centroid] Disable error-reducing translation for other coordinate systems than cartesian.

Remove undefined namespace.
Add missing headers.
Add a note about other coordinate systems.
Add copyright info.