Finding Expected Value For Chi Squared