rescale.link function

Rescale data depending on the link function provided