Updating rmc.f90 and also added debug code to rmc_functions.f90. I'll run some test code on Odie before migrating to ACI for the real run.