fix compareHist accuracy test for CHISQR method according to last commit