Rescale variables.