Learning method for S4 with Diagonal State Space Layers using Balanced Truncation | Synapse