Bug fixed and works for realistic ECC
README changed