Improved documentation and eror handling for chiSqr.go in stats/ package.