Maximum Likelihood Theory