normalize function

Min-max normalization