MRQ function

Calculates MRQ polarization index