Fortran Stack Trace Terminated Abnormally