If I were to receive an array of numbers, how do I convert the numbers proportionally to some max value? For example, the acceptable range of numbers output must be between and