getPredictiveIntervals function

Calculates Bayesian credible (confidence) and predictive intervals based on parameter sample