[expectations] Output probabilities to files
[expectations] Add normality tree output function