Quantitative Analysis of CME Deflections in the Corona