Tweak range definition in `rescale_intensity`

This factors out intensity-range calculations to a single place and clarifies defaults in the signature for `rescale_intensity`.