fix off-by-one errors in ErrorStrip
Merge pull request #77 from pokab/errorstrip

fix off-by-one errors in ErrorStrip