Sped up computations by calculating gradients in batches.
Sped up computations by calculating gradients in batches.

lucastheis/cmt,lucastheis/cmt,lucastheis/cmt,lucastheis/cmt,lucastheis/cmt,lucastheis/cmt