stability_analysis function

Conduct a stability analysis of the trees in a tree learner