Corrections to the configuration function
Replaced nasty hack for training sequences 6 and 7 with a condition depending on the first symbol of training sequences. It's still a little bit of a hack because I don't know why exactly those starting points have to be used.
Little cleanups