xor in dsss, pn sequence fixup

* use xor in dsss instead replacing 0 by -1 and multiplying
* pn sequence generator returns a sequence of the given length. if length is longer than the sequence, it will repeat itself