Bernstein Polynomials for Radiative Transfer Computations