Wahoo.
A simple cache for the X side of the equation sped up the creation of a spherical planet from about six seconds to about one second.
Boo-yah!