normalize function

Scale a numeric vector using max-min