Spiral type Clothoid with two non-zero radius

Hello!

I successfully created a clothoid type Spiral line in Dynamo, python script using this method, on page 10-13. But I got a problem if both radiusStart and radiusEnd has value (neither of them is “INF”). I guess this method does not apply to this case. I am asking for your help on this. I’ve been searching any related problems about it on the internet but I failed to find the exact solution. If ever you want to take a deeper visual for my problem, please view the files here. Thank you in advance!