Added BCH coding and scrambler