Actually, you are right. The formula will need to be structured:
Z=(Any function with X & Y), i.e.: Z=sin(x)*cos(y)
Thanks for the code, I will try it, and let you know how it works.
If it works, I may be able to release a beta of my program within a week.
If you think the difference in how the formula is structured to one that may be 4D (The misinterpretation based on my vague describtion). Feel free to let me know.
Thanks again for you help.