def result(t):
    (integral, err) = scipy.integrate.quad(new_v_rate_func, 0, t)
    return (integral / max_integral)
def result(t):
    (integral, err) = scipy.integrate.quad(new_v_rate_func, 0, t)
    return (integral / max_integral)