Update VincentyGeodesy.java

any var compare with Double.NaN, result is false