Parallel batches

Parallelized forward and backpropagation of small batches with OpenMP.