Fixed a few errors with my Chi Squared Analysis