The Discretized Radiation Method, a method to perform heat radiation calculations for arbitrary shaped flame geometries