def s(b):
    n_points_checked = 190
    halv = int((n_points_checked * 0.5))
    temp = 0.0
    for i in range(n_points_checked):
        x = ((i - halv) * 0.2481)
        a = (pi(x, b) - line_array[((line_len_2 - halv) + i)][1])
        temp += (a * a)
    return temp
def s(b):
    n_points_checked = 190
    halv = int((n_points_checked * 0.5))
    temp = 0.0
    for i in range(n_points_checked):
        x = ((i - halv) * 0.2481)
        a = (pi(x, b) - line_array[((line_len_2 - halv) + i)][1])
        temp += (a * a)
    return temp