Add support for formula defining variables as x[0],x[1],....
Fix for the case of missing default variables. For example "y+z" is now a 3D function which contains also x, although it does not depend on it
Plus other fixes...