EM Optimization of Latent-Variable Density Models