Updated rmc.f90 - organized and fixed a few things.