Title: Radiative transfer with polarized scattering in the magnetized solar atmosphere