Text this: Spectral stochastic gradient method with additional sampling for finite and infinite sums.