as_adj_signed function

Convert a signed graph to a signed adjacency matrix