checkErrors function

Error Checks in NMF Runs