Functions for scaling, and rescaling residuals. May lead to unstable behaviour in practice
Useful links