Extract method on batched feedForward. Will use it in gradient computation.
Cost gradient computation now also uses batched feed-forward.
Fix ValueErrors in cost function due to undefined behaiour of math.log(0).
Decrease network layer size for faster testing.