fix example broken by change in chi_factor
update .gitignore