The matrix tool and steady-state distributions