sample_prior function

Sample from prior distribution