createMtergm function

Constructor for mtergm objects