test pilot for LBFGS.

Uses fold cross validation to pick the best model.