Vector of limits for the grid. Should be of length 2*d;
the first d components represent the lower left corner,
and the next d components the upper right corner.
Can also be a "locfit" object.
m
Number of points for each grid margin. Can be a vector of length d.