Dynamic Stability Calculations for an Arbitrary Number of Interconnected Synchronous Machines | Synapse