Rescale between two points, minor changes to the resample method varaiable assignment