Fixed DSSS, introduced frequency concept

Fixed DSSS to work as intended, added frequency to our model