fix compareHist accuracy test after latest changes to
CHI_SQR method