modified output to take into account that, with spectrum input, some of the energy will not be eought to create a final state, so the output variables were all NAN. At now, in this case the output variables that are NAN are set to zero
modified output to take into account that, with spectrum input, some of the energy will not be eought to create a final state, so the output variables were all NAN. At now, in this case the output variables that are NAN are set to zero