Automatic Discovery of One-Parameter Subgroups of Lie Groups: Compact and Non-Compact Cases of SO (n) and SL (n) | Synapse