Suppress unused argument warnings.

Done with the (void) trick in a non-MPI block, since functions do use
their arguments in the MPI case.
Comment out unused argument.
Renamed i->j to avoid shadowing.
Merge pull request #79 from atgeirr/suppress-warnings

Suppress warnings