Mathematical Theory of Networks and Systems