more correct bit error probability computation for hammingcode