Add debugging newtype & fix return bug.
Bug fix to buildTree.
Fix bug in nutsKernel.