I have two lines (line1, line2). One of them has two variables K_p and K_i that change how the line looks (line2). Is there any way for me to programatically calculate the t