get_max_treedepth function

Get the maximum treedepth of chains of a Stan model fit