Empirical Processes in M-Estimation