Implement certainty estimation