Imported RMG_utils and removed its functions 

At least 2 locations where I commented out broken code.
Search on 'broken' to find them.