mason's theory on signal flow graphs