For calculating dust scattering and extinction