Improved detection for NaNs. For Nan the following is False: a /= a


git-svn-id: https://elmerfem.svn.sourceforge.net/svnroot/elmerfem/trunk@6026 35e42291-063b-0410-a9f9-998d8d6728aa