With Rays GPS he knows his speed and G’s through any corner and can figure the radius of said corner. When he goes over the data to see if he can change his speed at any point in said corner to lower his split time through said corner. He can use that formula to see where he is to hot.
To keep the numbers simple We will use 1G and 100ft radius.
15×1=15×100=1500sq root of that = 38.72mph
So remove magic insert number, if Ray is going faster then 38mph he is loosing time in that corner.