Solving the system of Radiation Magnetohydrodynamics by Andreas Dedner