https://itnewstoday.net/en/nan-error-in-fortran/