Hello.
I have been programming in Delphi for three decades, creating stand-alone programs for top international scientists based on complex internal algorithms.
We would need to discuss the details of your function before I approve the job, but theoretically it should be exactly what I do best.
My speciality is delivering elegant, clear, bug-free, stable code.