Transient Frequency Analysis And Distributed Synthesis For Power Networks