createPrior function

Creates a standardized prior class