Added credit.
Documentation work.
Replaced all uses of malloc with calloc.
Clarified names of gamma array helper functions.
Removed superflous casts of allocated memory.
Enabled compilation on OS X 10.6 SDK.