update hastrom_nan.pro to the new version from astrolib