CheckInputsForMLE function

Check consistence of inputs