A General Approach to Modeling Latent Variable Interactions and Nonlinear Effects | Synapse