Add initial IDR work
Add initial IDR work

It is long, nested and bad, but it does the IDR, and makes the plots.
Still need to actuall take the numbers of peaks and generate final set
of peaks, but one thing at a time

glennsb/OPtICAL,glennsb/OPtICAL,glennsb/OPtICAL,glennsb/OPtICAL