Added a boolean and his corresponding methods to check if there was a fatal error in the fortran code.