def MAP(input, inputLow,inputHigh, outputLow ,outputHigh):
    """A simple function that take any number and scale it to a new number."""
    result = ((input - inputLow) / (inputHigh - inputLow)) * (outputHigh - outputLow) + outputLow

    return result