Bash Script Check If Variable Is Nan