added new fxn to get network metrics, getnetmets2, and fxn to convert edgelist to matrix