added arguments to runBRT for the family argument and to specify an offset if the family is Poisson