A matrix method for calculating the source function, mean intensity, and flux in a model atmosphere | lit.salon