added chi^2 formula and more explanation, added more latex processing files to gitignore