bootdist_fun function

Determines the appropriate bootstrap function based on a fit object