Implements rescale, translate, normalise