Added NLPstring for broaderTerm as well as some DAG related stuff. Tried
to make things more efficient.