distsamp function

Fit the hierarchical distance sampling model of Royle et al. (2004)