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`. 
I know what this function does and I still couldn't follow this. =\ I think it needs rewording, and probably an examples section that shows inputs and outputs demonstrating both clipping and squashing.