// interpolation/extrapolation with no basis functions var weight2d1 = 2; const wf2d1 = function(x) {return 1./Math.pow(x, weight2d1);}