Sequential Density Estimation via Nonlinear Continuous Weighted Finite Automata