some more work on the qam demodulator