updating the activity script to also give the activity at the end of the simulation
adding a better decay heat function