Updates to core code

- Improved readability and generalizability to other GEE families.
- Added Poisson family.
Minor edits to documentation
Added generic QIC function