Made accuracy variables const in planet unit tests.
Add const qualifiers to unmodified variables.
Make small code quality improvements.
Do minor cleanup.
Rearrange headers and type declarations.