Added missing BSD headers
Failure deduction from node names in, prediction split up into branches.

Still to do: walk through sub-branches when predicting.