Gamma calculation

Updating calculation of gamma to include coupling to resource, as per
Hartvig et al 2011.

Fixes #2