rectifyIrho function

Rectify I using a correlation method for all the variables in an input file.