tergmprepare function

Prepare data structure for TERGM estimation, including composition change