Analysis and evaluation of some manufacturing processes and systems using graph theory and matrix approach