fixed bug in accuracy that underestimated the overall error rate only