to_multinomial function

Convert a binary adjacency matrix with missing value to a cube