Rewrite modulating qpsk in a more natural *and* more efficient way.
Made unpacking code more generic *and* more efficient by reusing the optimized assignByVal function.