Scale points in ‘x’, such that distance between max(x) and min(x) equals to ‘length’. min(x) will be moved to 0.
Notes