Fixed error in logprob for uniform distribution
Lots of changes: dependent priors now work