added matlab script getError.m for calculating codeword error rate from bit error rate