Add prior as function parameter; Add normalize flag

- add utlity function and flag to normalize likelihoods
- add ability to pass in new prior function before normalization