script qpsk_test split into functions
Merge https://github.com/genticuka/MATLAB