Two bugfixes that were triggered by parallel tests.

IFLMSF wasn't being set and was therefore taking on random values
on a proc by proc basis.  This caused a divergence before an mpi
collective, which caused a stall.  The offending routines
weren't relevant and have been removed (it didn't have to be set,
after all), and it has been given a default value in init_geom.

The conversion from f77 to f90 misplaced an endif in mfo_outfld,
which was also leading to a divergence before a collective.  The
endif has been moved to the correct place.