correct bug on calculation of absorbed radiation and on the calculatetion of temporary variables (x1, x2, ...)