made jerk_threshold a variable to bin_vector2