dmm: bug fix typo
dmm: correctly write latent vars in .nml file