fixed bug in GammaPrior (inverse beta). Now using gamma in priors.

change fit to choose P0 from priors