finished derivation of influence function for MLE