Trout cod analysis

Added code for analysis of trout cod data. Values used in thesis tables.
Fix bugs JS function

Fixed bug in JS function. Number of released previously set to m, total
marked captured at i. Should be set to n, total captured at i.
Fixed bug in calcZ function. k should be calculated outside loop.
Bug fix and bias adjusted JS`

Fixed bug when only one animal is captured for a particular sampling
occasion. Also converted JS estimator to the bias adjusted version.