Matrices and Graphs Stability Problems in Mathematical Ecology