Do not modify pcout for GPlates output.
Improve documentation.
Simplify logic and fix output bug for 3d.