Real Rayleigh scattering

Much improved atmospheric scattering. Somewhat physically-based, which
is a plus. A little bit of refactoring.