finished the latent variable example; the problem was with an eigensolver of the matrix exponential