Non-linear trends and interactions in SEM for R