SMatrix for Yang-Mills and Gravitational Fields | Synapse