getPredictiveDistribution function

Calculates predictive distribution based on the parameters