Returns the function value.
f=uncprb_getobjfcn(n,m,x,nprob)
the number of variables, i.e. the size of x
the number of functions, i.e. the size of fvec
a n x 1 matrix of doubles, the point where to compute f
the problem number
a 1x1 matrix of doubles, the function value
It is an interface function which calls the function func(which selects appropriate test fuction based on nprob) to return fvec, then it calculates the objective function by fvec'*fvec.