Implement isotropic PREM. Clean up 1D model generation routines.