turned IDR into a class so I can run it in the notebook, kept original functionality
turned IDR into a class so I can run it in the notebook, kept original functionality

YeoLab/gscripts,YeoLab/gscripts,YeoLab/gscripts,YeoLab/gscripts