Hi John, first of all - great work!
My question: is it possible to use two different orders for my polynomial? Because i managed to fit my function (3D) with an polynomial of the order 6 (n=6). But it would be great to fit my function with a polynomial with the order e.g. 5 in one direction, and with 6 in the other one (m and n) .
z(x,y) = a(n)*x^n + b(m)*y^m + a(n-1)*x^(n-1) + b(m-1)*y^(m-1)...