removed code for Hadas style fits (find weight of priors by cross validation)