Adding a slightly modified version of Naor's core-mantle planet builder.