Use Double.isNaN() instead of ==

NaN == NaN will always return false
Raise version number and adapt README