Use StatsBase.fit

Stop defining `fit` here and instead import `fit` from StatsBase.jl