mvregmed.dat.check function

Helper function to check x, y, mediator for input to mvregmed functions