rescaled S in TR function
renamed debug files temp/scenario_GOAL_#-....csv