Almost have AHOT LN compiling with gnu compiler using gfortran