Somewhere at a forum there were references to the program which was able to build surfaces under mathematical formulas, I have forgotten the name. It not MATHCAD or MATHLAB))) the program free, at it still was possibility of export of surfaces in WRML. Somebody can prompt references to a site or to downloading?
SolidworksSurfacing