two_irrads function

Compute two irrads for ratio, fraction or normalised difference