add correctionCountMatrix writer
add random error correction (unfinished)