Parallelized gradient calculations.