samplePrior function

Take samples from the prior distribution