fix methods for chi distribution
Merge pull request #101 from simonbyrne/chi

fix methods for chi distribution