scale the iri values from 0 to 1