Variable discrete ordinates method for radiation transfer in plane-parallel semi-transparent media with variable refractive index. (September 2017)