MDEstimator function

Function to compute minimum distance estimates