Matlab Gridfit 3d