norm01 function

Normalize vector in [0, 1]