Kristensen, Kasper, et al. “TMB: Automatic Differentiation and Laplace Approximation”. Journal of Statistical Software, vol. 70, no. 5, Apr. 2016, pp. 1-21, doi:10.18637/jss.v070.i05.