Fortran codegen_simplified code cleanup
some trivial cleanup, like refactoring some variables' names.