I got the derivative part, but once you have the angle, how do you calculate the new angle? Does it use the dot product?