def rescaleData(dataList):
    """
    finds the lowest and highest value elements in the list
    Sets those as 0 and 1
    proportionally rescale the other elements
    return the rescaled list

    INPUTS
    ------
    dataList    :   a list of ints or floats which will be rescaled

    OUTPUTS
    -------
    rescaledList:   the rescaled data from dataList from a scale 0-1
    """
    rescaledList = [(v-min(dataList))/max(dataList)for v in dataList ]
    return rescaledList