Planet property calculator and tests.