Hi again,
Sorry Chaeon, bad choice of words. What I meant by 'Chaeon's implementation' was your implementation of my equation.

I did not analyze your equation in detail but it does seem to be compatible with the parabola, and if it works, it is far better than any other aproach grin

I can't comment on the rest of your code.