Added NHSvalidation2

Added nested function to fix problems with NA or "" values in original function. 
Nested function requires global variables.