added parallel computation of batches to fully use all cores + improved comment about t value + removed unused import