Heatmap + bugfix

Hi Peter,

I added a calculate button to the heatmap so it won't calculate until you click and improved the gradient per somone else's comment. I also fixed a bug in the iitc script when the portal is missing resonators. You might want to change my fix for that, it was pretty hacky.