On the Stability Margin and Input Delay Margin of Linear Multi-agent systems