trait_fit_distributions function

Fit trait distributions