add code to check properties of networkx rate matrices with respect to distributions over vertices