Changed smart loop and isBatch() + data aggregate
Merge branch 'Adding-batch-request-to-gradient' of https://github.com/johhor/id2210-vt14 into Adding-batch-request-to-gradient