getBestDistribution is called to sort tested or accepted distributions

Add an argument to distinguish these cases.