improved checks in R code of statismoGPmodel to get sensible max values of ncomp and nystroem