An Extension to the Chahine Method of Inverting the Radiative Transfer Equation