revamped error rateh calculation to better support iteration
better colors and no longer importing cruft
CoI instead of COI