added CGA-TSIG call to ns example
fixed pointer issues