checkWeights function

Check, if NA or values <= 0 occur and issue warning