Added code for table based correction of bit errors. Code is not called yet except initialisation.
Test code for new bit error correction plus timing. This code is run when debugging.
Call new error correction code. Instead of bit positions record no. of corrected bits.