gbm gives an error when a single predictor is given.

gbmCrossVal.R and gbmDoFold.R were modified.