Courant-Snyder formalism for modeling, optimizing and simulating broadband THz radiation transport | Synapse