Added method to find credible interval