checkMD function

Change dummy input to dummy matrix