edge_properties_to_matrix function

Convert an edge list with properties to a matrix