SMARTS2: a simple model of the atmospheric radiative transfer of sunshine: algorithms and performance assessment