Error using Sobol sensitivity analysis on PCE

Thank you very much for your reply Styfen,

I used the example of borehole from http://www.sfu.ca/~ssurjano/Code/boreholem.html and not the vectorized from https://uqworld.org/t/borehole-function/60