updated error rate vs read offset plot

* filled distance calculation block