Concentration of Measure for the Analysis of Randomized Algorithms: Quadratic Transportation Cost and Talagrand's Inequality