MC Fix

Accidentally pushed an older version of the monte-carlo.py file before.