consolidated the mpigetrank calls in gaorder part of input.C and corrected small bug in sweep.C