str.weights_matrix function

Structure of a weights_matrix object