Editing mrt_functions.py

Cleaning up, commenting