intel fortran compiler does not allow return from main program. Replaced with stop.