added T prior fitting
working on T priors