fix typo in majority tree
fix the leaf read in
add proper leaf getter
fix log-exp scale
fix observation processor