def line(x, a, b):
    """
    Line equation, used 
    for curve fitting algorithm
    
    Args:
        x: x value
         a: line coefficient
         b: line constant term
    
    Returns:
        The y coordinate of the point
    """
    return a*x + b