Fortran version still fails to converge