Solved by JuanFMontesinos in post #4 
              
              
                You can just map values to 0-1 in a linear way. https://stackoverflow.com/questions/4154969/how-to-map-numbers-in-range-099-to-range-1-01-0