Solution of stochastic mechanical problems with NURBS