Simplified mnist example; fixed LBFGS training.
New version.