Instrument to measure the polarization state of waves