rbf interpolation and stack vector