Multi-Batch L-BFGS Method