Fixed issue with evaluation data and xer (needed length(x)+length(xeval)+1...)