Change max_intensity and radius to floats in heatmap.

... and tidied up. I think users naturally expect these to be floats.