tmva: fix typo
tmva: minor simplification
tmva: factor out common code in apply
tmva: major bug fix, was writing gibberish branch