def mapPoint(number, start1, stop1, start2, stop2):
    """
    This method maps the number number between start2 and stop2 with the same ratio it had between start1 and start2.
    @:param number: is the mapped number
    @:param start1: is the lowest value of the range in which number is
    @:param stop1: is the highest value of the range in which number is
    @:param start2: is the lowest value of the range in which number is going to be
    @:param stop2: is the highest value of the range in which number is going to be
    @:return the calculated number
    """
    return ((number - start1) / (stop1 - start1)) * (stop2 - start2) + start2